<?php
include 'header.php';
?>

<div class="pageBox">
  <table width="980" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td width="220" class="siderBar">
      	<!--<dl>
        	<dt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php echo $location[0]['name'];?></dt>
            <?php foreach($subCatalog as $item):?>
            <dd><a href="/catalog?id=<?php echo $item['id'];?>"><?php echo $item['name'];?></a></dd>
            <?php endforeach;?>
       </dl>-->
       
       <dl>
       		<dt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php echo $location[0]['name'];?></dt>
       		<p align="center" style="text-align: center;margin: 10px auto;">
       			<?php if($location[0]['pic']):?>
       			<img src="<?php echo $location[0]['pic'];?>" width="210" />	
       			<?php endif;?>
       		</p>
       		<p style="font-weight: normal; color:#000000; font-size: 12px; line-height: 1.6em;">
       			<?php echo cut_str($location[0]['memo'], 200);?>
       		</p>
       </dl>
      </td>
      <td width="20"></td>
      <td width="740" class="catalogBox">
      	<dl>
        	<dt>
            	<?php echo $catalog['name'];?>
            </dt>
        </dl>
        <div class="catalogMemo">
        	<?php echo $catalog['memo'];?>
        </div>
      </td>
    </tr>
  </table>
</div>

<?php 
include 'footer.php';
?>